package com.qf.commons.core.config;

import com.qf.commons.core.utils.ApplicationUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * description: 核心模块的自动配置类
 * author: Ken
 * 公众号：Java架构栈
 */
@Configuration
@ComponentScan({"com.qf.business", "com.qf.ability", "com.qf.data.**.vaild"})
public class CoreAutoConfiguration {

    @Bean
    public ApplicationUtils getApplicationUtils(){
        return new ApplicationUtils();
    }
}
